package com.nbst.model.erp;

import java.util.Date;

import com.nbst.model.base.OrderBy;

/**
 * 
 * @ClassName: Bom
 * @Description:erp中Bom数据
 * @author 兵
 * @date 2018-3-28
 * 
 */
public class Bom extends OrderBy {
	/** 单据类型 */
	private Integer fTranType;

	/** Bom内码 */
	private Integer fInterID;

	/** bom单号 */
	private String fBomNumber;

	/** 父项长代码 */
	private String fNumber;

	/** 父项代码 */
	private String fShortNumber;

	/** 父项名称 */
	private String fName;

	/** Bom组别 */
	private String fParentID;

	/** 父项规格型号 */
	private String fModel;

	/** Bom状态 */
	private String fStatus;

	/** 使用状态 */
	private String fUseStatus;

	/** 版本 */
	private String fVersion;

	/** Bom类型 */
	private String fBomType;

	/** 单位 */
	private String fUnitName;

	/** 数量 */
	private Double fQty;

	/** 成品率 */
	private Double fYield;

	/** 创建人 */
	private String fCheckID;

	/** 创建日期 */
	private Date fCheckDate;

	/** 最后修改人 */
	private String fOperatorID;

	/** 最后修改日期 */
	private Date fOperatorDate;

	/** 审核人 */
	private String fCheckerID;

	/** 审核日期 */
	private Date fCheckerDate;

	/** 工艺路线id */
	private String fRountingID;

	/** Bom备注 */
	private String fNote;

	/** 子项分录 */
	private Integer fEntryID;

	/** 子项长代码 */
	private String fChildNumber;

	/** 子项代码 */
	private String fChildShortNumber;

	/** 子项名称 */
	private String fChildName;

	/** 子项规格型号 */
	private String fChildModel;

	/** 子项类型 */
	private String fMaterielType;

	/** 配置属性 */
	private String fMarshalType;

	/** 子项单位 */
	private String fChildUnitName;

	/** 子项用量 */
	private Double fChildQty;

	/** 生效日期 */
	private Date fBeginDay;

	/** 失效日期 */
	private Date fEndDay;

	/** 工序号 */
	private Integer fOperSN;

	/** 损耗率 */
	private Double fScrap;

	/** 计划百分比 */
	private Double fPercent;

	/*** 提前期偏置 */
	private Double fOffSetDAy;

	/** 倒冲 */
	private String fBackFlush;

	/** 工序 */
	private String fOperID;

	/** 工位 */
	private String fMachinePos;

	/** 仓库 */
	private Integer fStockID;

	/** 仓位 */
	private String fSPID;

	/** 子项备注 */
	private String fChildNote;

	/** 物料属性 1外购 2自制 3委外加工 5 虚拟件 */
	private String fErpClsID;

	/**
	 * @return fTranType
	 */
	public Integer getfTranType() {
		return fTranType;
	}

	/**
	 * @param fTranType
	 *            要设置的 fTranType
	 */
	public void setfTranType(Integer fTranType) {
		this.fTranType = fTranType;
	}

	/**
	 * @return fInterID
	 */
	public Integer getfInterID() {
		return fInterID;
	}

	/**
	 * @param fInterID
	 *            要设置的 fInterID
	 */
	public void setfInterID(Integer fInterID) {
		this.fInterID = fInterID;
	}

	/**
	 * @return fBOMNumber
	 */
	public String getfBomNumber() {
		return fBomNumber;
	}

	/**
	 * @param fBOMNumber
	 *            要设置的 fBOMNumber
	 */
	public void setfBomNumber(String fBomNumber) {
		this.fBomNumber = fBomNumber;
	}

	/**
	 * @return fNumber
	 */
	public String getfNumber() {
		return fNumber;
	}

	/**
	 * @param fNumber
	 *            要设置的 fNumber
	 */
	public void setfNumber(String fNumber) {
		this.fNumber = fNumber;
	}

	/**
	 * @return fShortNumber
	 */
	public String getfShortNumber() {
		return fShortNumber;
	}

	/**
	 * @param fShortNumber
	 *            要设置的 fShortNumber
	 */
	public void setfShortNumber(String fShortNumber) {
		this.fShortNumber = fShortNumber;
	}

	/**
	 * @return fName
	 */
	public String getfName() {
		return fName;
	}

	/**
	 * @param fName
	 *            要设置的 fName
	 */
	public void setfName(String fName) {
		this.fName = fName;
	}

	/**
	 * @return fParentID
	 */
	public String getfParentID() {
		return fParentID;
	}

	/**
	 * @param fParentID
	 *            要设置的 fParentID
	 */
	public void setfParentID(String fParentID) {
		this.fParentID = fParentID;
	}

	/**
	 * @return fModel
	 */
	public String getfModel() {
		return fModel;
	}

	/**
	 * @param fModel
	 *            要设置的 fModel
	 */
	public void setfModel(String fModel) {
		this.fModel = fModel;
	}

	/**
	 * @return fStatus
	 */
	public String getfStatus() {
		return fStatus;
	}

	/**
	 * @param fStatus
	 *            要设置的 fStatus
	 */
	public void setfStatus(String fStatus) {
		this.fStatus = fStatus;
	}

	/**
	 * @return fUseStatus
	 */
	public String getfUseStatus() {
		return fUseStatus;
	}

	/**
	 * @param fUseStatus
	 *            要设置的 fUseStatus
	 */
	public void setfUseStatus(String fUseStatus) {
		this.fUseStatus = fUseStatus;
	}

	/**
	 * @return fVersion
	 */
	public String getfVersion() {
		return fVersion;
	}

	/**
	 * @param fVersion
	 *            要设置的 fVersion
	 */
	public void setfVersion(String fVersion) {
		this.fVersion = fVersion;
	}

	/**
	 * @return fBomType
	 */
	public String getfBomType() {
		return fBomType;
	}

	/**
	 * @param fBomType
	 *            要设置的 fBomType
	 */
	public void setfBomType(String fBomType) {
		this.fBomType = fBomType;
	}

	/**
	 * @return fUnitName
	 */
	public String getfUnitName() {
		return fUnitName;
	}

	/**
	 * @param fUnitName
	 *            要设置的 fUnitName
	 */
	public void setfUnitName(String fUnitName) {
		this.fUnitName = fUnitName;
	}

	/**
	 * @return fQty
	 */
	public Double getfQty() {
		return fQty;
	}

	/**
	 * @param fQty
	 *            要设置的 fQty
	 */
	public void setfQty(Double fQty) {
		this.fQty = fQty;
	}

	/**
	 * @return fYield
	 */
	public Double getfYield() {
		return fYield;
	}

	/**
	 * @param fYield
	 *            要设置的 fYield
	 */
	public void setfYield(Double fYield) {
		this.fYield = fYield;
	}

	/**
	 * @return fCheckID
	 */
	public String getfCheckID() {
		return fCheckID;
	}

	/**
	 * @param fCheckID
	 *            要设置的 fCheckID
	 */
	public void setfCheckID(String fCheckID) {
		this.fCheckID = fCheckID;
	}

	/**
	 * @return fCheckDate
	 */
	public Date getfCheckDate() {
		return fCheckDate;
	}

	/**
	 * @param fCheckDate
	 *            要设置的 fCheckDate
	 */
	public void setfCheckDate(Date fCheckDate) {
		this.fCheckDate = fCheckDate;
	}

	/**
	 * @return fOperatorID
	 */
	public String getfOperatorID() {
		return fOperatorID;
	}

	/**
	 * @param fOperatorID
	 *            要设置的 fOperatorID
	 */
	public void setfOperatorID(String fOperatorID) {
		this.fOperatorID = fOperatorID;
	}

	/**
	 * @return fOperatorDate
	 */
	public Date getfOperatorDate() {
		return fOperatorDate;
	}

	/**
	 * @param fOperatorDate
	 *            要设置的 fOperatorDate
	 */
	public void setfOperatorDate(Date fOperatorDate) {
		this.fOperatorDate = fOperatorDate;
	}

	/**
	 * @return fCheckerID
	 */
	public String getfCheckerID() {
		return fCheckerID;
	}

	/**
	 * @param fCheckerID
	 *            要设置的 fCheckerID
	 */
	public void setfCheckerID(String fCheckerID) {
		this.fCheckerID = fCheckerID;
	}

	/**
	 * @return fCheckerDate
	 */
	public Date getfCheckerDate() {
		return fCheckerDate;
	}

	/**
	 * @param fCheckerDate
	 *            要设置的 fCheckerDate
	 */
	public void setfCheckerDate(Date fCheckerDate) {
		this.fCheckerDate = fCheckerDate;
	}

	/**
	 * @return fRountingID
	 */
	public String getfRountingID() {
		return fRountingID;
	}

	/**
	 * @param fRountingID
	 *            要设置的 fRountingID
	 */
	public void setfRountingID(String fRountingID) {
		this.fRountingID = fRountingID;
	}

	/**
	 * @return fNote
	 */
	public String getfNote() {
		return fNote;
	}

	/**
	 * @param fNote
	 *            要设置的 fNote
	 */
	public void setfNote(String fNote) {
		this.fNote = fNote;
	}

	/**
	 * @return fEntryID
	 */
	public Integer getfEntryID() {
		return fEntryID;
	}

	/**
	 * @param fEntryID
	 *            要设置的 fEntryID
	 */
	public void setfEntryID(Integer fEntryID) {
		this.fEntryID = fEntryID;
	}

	/**
	 * @return fChildNumber
	 */
	public String getfChildNumber() {
		return fChildNumber;
	}

	/**
	 * @param fChildNumber
	 *            要设置的 fChildNumber
	 */
	public void setfChildNumber(String fChildNumber) {
		this.fChildNumber = fChildNumber;
	}

	/**
	 * @return fChildShortNumber
	 */
	public String getfChildShortNumber() {
		return fChildShortNumber;
	}

	/**
	 * @param fChildShortNumber
	 *            要设置的 fChildShortNumber
	 */
	public void setfChildShortNumber(String fChildShortNumber) {
		this.fChildShortNumber = fChildShortNumber;
	}

	/**
	 * @return fChildName
	 */
	public String getfChildName() {
		return fChildName;
	}

	/**
	 * @param fChildName
	 *            要设置的 fChildName
	 */
	public void setfChildName(String fChildName) {
		this.fChildName = fChildName;
	}

	/**
	 * @return fChildModel
	 */
	public String getfChildModel() {
		return fChildModel;
	}

	/**
	 * @param fChildModel
	 *            要设置的 fChildModel
	 */
	public void setfChildModel(String fChildModel) {
		this.fChildModel = fChildModel;
	}

	/**
	 * @return fMaterielType
	 */
	public String getfMaterielType() {
		return fMaterielType;
	}

	/**
	 * @param fMaterielType
	 *            要设置的 fMaterielType
	 */
	public void setfMaterielType(String fMaterielType) {
		this.fMaterielType = fMaterielType;
	}

	/**
	 * @return fMarshalType
	 */
	public String getfMarshalType() {
		return fMarshalType;
	}

	/**
	 * @param fMarshalType
	 *            要设置的 fMarshalType
	 */
	public void setfMarshalType(String fMarshalType) {
		this.fMarshalType = fMarshalType;
	}

	/**
	 * @return fChildUnitName
	 */
	public String getfChildUnitName() {
		return fChildUnitName;
	}

	/**
	 * @param fChildUnitName
	 *            要设置的 fChildUnitName
	 */
	public void setfChildUnitName(String fChildUnitName) {
		this.fChildUnitName = fChildUnitName;
	}

	/**
	 * @return fChildQty
	 */
	public Double getfChildQty() {
		return fChildQty;
	}

	/**
	 * @param fChildQty
	 *            要设置的 fChildQty
	 */
	public void setfChildQty(Double fChildQty) {
		this.fChildQty = fChildQty;
	}

	/**
	 * @return fBeginDay
	 */
	public Date getfBeginDay() {
		return fBeginDay;
	}

	/**
	 * @param fBeginDay
	 *            要设置的 fBeginDay
	 */
	public void setfBeginDay(Date fBeginDay) {
		this.fBeginDay = fBeginDay;
	}

	/**
	 * @return fEndDay
	 */
	public Date getfEndDay() {
		return fEndDay;
	}

	/**
	 * @param fEndDay
	 *            要设置的 fEndDay
	 */
	public void setfEndDay(Date fEndDay) {
		this.fEndDay = fEndDay;
	}

	/**
	 * @return fOperSN
	 */
	public Integer getfOperSN() {
		return fOperSN;
	}

	/**
	 * @param fOperSN
	 *            要设置的 fOperSN
	 */
	public void setfOperSN(Integer fOperSN) {
		this.fOperSN = fOperSN;
	}

	/**
	 * @return fScrap
	 */
	public Double getfScrap() {
		return fScrap;
	}

	/**
	 * @param fScrap
	 *            要设置的 fScrap
	 */
	public void setfScrap(Double fScrap) {
		this.fScrap = fScrap;
	}

	/**
	 * @return fPercent
	 */
	public Double getfPercent() {
		return fPercent;
	}

	/**
	 * @param fPercent
	 *            要设置的 fPercent
	 */
	public void setfPercent(Double fPercent) {
		this.fPercent = fPercent;
	}

	/**
	 * @return fOffSetDAy
	 */
	public Double getfOffSetDAy() {
		return fOffSetDAy;
	}

	/**
	 * @param fOffSetDAy
	 *            要设置的 fOffSetDAy
	 */
	public void setfOffSetDAy(Double fOffSetDAy) {
		this.fOffSetDAy = fOffSetDAy;
	}

	/**
	 * @return fBackFlush
	 */
	public String getfBackFlush() {
		return fBackFlush;
	}

	/**
	 * @param fBackFlush
	 *            要设置的 fBackFlush
	 */
	public void setfBackFlush(String fBackFlush) {
		this.fBackFlush = fBackFlush;
	}

	/**
	 * @return fOperID
	 */
	public String getfOperID() {
		return fOperID;
	}

	/**
	 * @param fOperID
	 *            要设置的 fOperID
	 */
	public void setfOperID(String fOperID) {
		this.fOperID = fOperID;
	}

	/**
	 * @return fMachinePos
	 */
	public String getfMachinePos() {
		return fMachinePos;
	}

	/**
	 * @param fMachinePos
	 *            要设置的 fMachinePos
	 */
	public void setfMachinePos(String fMachinePos) {
		this.fMachinePos = fMachinePos;
	}

	/**
	 * @return fStockID
	 */
	public Integer getfStockID() {
		return fStockID;
	}

	/**
	 * @param fStockID
	 *            要设置的 fStockID
	 */
	public void setfStockID(Integer fStockID) {
		this.fStockID = fStockID;
	}

	/**
	 * @return fSPID
	 */
	public String getfSPID() {
		return fSPID;
	}

	/**
	 * @param fSPID
	 *            要设置的 fSPID
	 */
	public void setfSPID(String fSPID) {
		this.fSPID = fSPID;
	}

	/**
	 * @return fChildNote
	 */
	public String getfChildNote() {
		return fChildNote;
	}

	/**
	 * @param fChildNote
	 *            要设置的 fChildNote
	 */
	public void setfChildNote(String fChildNote) {
		this.fChildNote = fChildNote;
	}

	/**
	 * @return fErpClsID
	 */
	public String getfErpClsID() {
		return fErpClsID;
	}

	/**
	 * @param fErpClsID
	 *            要设置的 fErpClsID
	 */
	public void setfErpClsID(String fErpClsID) {
		this.fErpClsID = fErpClsID;
	}

	@Override
	public String toString() {
		return "Bom [fTranType=" + fTranType + ", fInterID=" + fInterID + ", fBomNumber=" + fBomNumber + ", fNumber="
				+ fNumber + ", fShortNumber=" + fShortNumber + ", fName=" + fName + ", fParentID=" + fParentID
				+ ", fModel=" + fModel + ", fStatus=" + fStatus + ", fUseStatus=" + fUseStatus + ", fVersion="
				+ fVersion + ", fBomType=" + fBomType + ", fUnitName=" + fUnitName + ", fQty=" + fQty + ", fYield="
				+ fYield + ", fCheckID=" + fCheckID + ", fCheckDate=" + fCheckDate + ", fOperatorID=" + fOperatorID
				+ ", fOperatorDate=" + fOperatorDate + ", fCheckerID=" + fCheckerID + ", fCheckerDate=" + fCheckerDate
				+ ", fRountingID=" + fRountingID + ", fNote=" + fNote + ", fEntryID=" + fEntryID + ", fChildNumber="
				+ fChildNumber + ", fChildShortNumber=" + fChildShortNumber + ", fChildName=" + fChildName
				+ ", fChildModel=" + fChildModel + ", fMaterielType=" + fMaterielType + ", fMarshalType=" + fMarshalType
				+ ", fChildUnitName=" + fChildUnitName + ", fChildQty=" + fChildQty + ", fBeginDay=" + fBeginDay
				+ ", fEndDay=" + fEndDay + ", fOperSN=" + fOperSN + ", fScrap=" + fScrap + ", fPercent=" + fPercent
				+ ", fOffSetDAy=" + fOffSetDAy + ", fBackFlush=" + fBackFlush + ", fOperID=" + fOperID
				+ ", fMachinePos=" + fMachinePos + ", fStockID=" + fStockID + ", fSPID=" + fSPID + ", fChildNote="
				+ fChildNote + ", fErpClsID=" + fErpClsID + "]";
	}
}